<template>
  <div>
    <main class="el-main">
      <div data-v-612b7776 id="about" name="about" class="about">
        <div data-v-612b7776 class="about-header">
          <div data-v-612b7776 class="about-title">
            <i
              data-v-72ffa740=""
              class="el-icon-s-order"
              style="font-size: 30px; color: rgb(255, 103, 0)"
            ></i
            >我的订单
          </div>
        </div>
      </div>
    </main>
  </div>
</template>

<script>
import API from "../../API/Api";
export default {
  name: "",
  data() {
    return {};
  },
  mounted() {
    // API.getShoppingCart({ user_id: this.$store.state.user_id }).then((res) => {
    //   console.log(res);
    // });
    API.getOrder({ user_id: this.$store.state.user_id }).then((res) => {
      console.log(res);
    });
  },
  methods: {},
  computed: {},
  components: {},
  watch: {},
  getters: {},
};
</script>

<style scoped>
.el-main {
  background-color: #f5f5f5;
}
.about-title {
  width: 1225px;
  margin: 0 auto;
  height: 64px;
  line-height: 64px;
  font-size: 28px;
  background-color: #fff;
}
.about-header {
  height: 64px;
  background-color: #fff;
  border-bottom: 2px solid #ff6700;
}
.markdown-body h1 {
  font-size: 2em;
}
.about-content {
  width: 1225px;
  box-sizing: border-box;
  margin: 0 auto;
  background-color: #fff;
  padding: 0 40px;
}
.about-content h1 {
  padding-bottom: 0.3em;
  border-bottom: 1px solid #eaecef;
  padding: 24px 0 16px;
}
.about-content h2 {
  border-bottom: 1px solid #eaecef;
  padding: 24px 0 16px;
}
</style>